9.9
CRITICAL CVSS 3.1
CVE-2025-2945
pgAdmin 4: Remote Code Execution in Query Tool and Cloud Deployment
Description

Remote Code Execution security vulnerability in pgAdmin 4 (Query Tool and Cloud Deployment modules). The vulnerability is associated with the 2 POST endpoints; /sqleditor/query_tool/download, where the query_commited parameter and /cloud/deploy endpoint, where the high_availability parameter is unsafely passed to the Python eval() function, allowing arbitrary code execution. This issue affects pgAdmin 4: before 9.2.

INFO

Published Date :

April 3, 2025, 1:15 p.m.

Last Modified :

Sept. 17, 2025, 6:04 p.m.

Remotely Exploit :

Yes !

Source :

f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
Affected Products

The following products are affected by CVE-2025-2945 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Pgadmin pgadmin
2 Pgadmin pgadmin_4
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 CRITICAL f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
CVSS 3.1 HIGH [email protected]
Solution
Update pgAdmin 4 to version 9.2 or later to mitigate remote code execution.
  • Update pgAdmin 4 to version 9.2 or later.
  • Avoid using the Query Tool download or Cloud Deployment features until updated.
Public PoC/Exploit Available at Github

CVE-2025-2945 has a 7 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2025-2945.

URL Resource
https://github.com/pgadmin-org/pgadmin4/issues/8603 Exploit Issue Tracking
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-2945 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-2945 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Python PoC script for pgAdmin4 Query Tool Authenticated RCE (CVE-2025-2945)

poc python python3 exploit security infosec

Python

Updated: 2 weeks, 5 days ago
0 stars 0 fork 0 watcher
Born at : Sept. 13, 2025, 7:33 a.m. This repo has been linked 1 different CVEs too.

Wiki漏洞库管理系统&网络安全知识库-渗透测试常见漏洞知识库文档-该网站收集了Web应用层漏洞、中间件安全缺陷、系统配置不当、移动端(Android)安全问题、权限提升、RCE、网络设备及IOT安全。

cve cves cyber-security cybersecurity exploit payload pentest pentesting pentesting-tools poc redteam redteam-tools security security-scan vlun wiki android iotsecurity webscan webscanner

Updated: 4 weeks ago
14 stars 3 fork 3 watcher
Born at : Sept. 10, 2025, 7:25 a.m. This repo has been linked 7 different CVEs too.

CVE POC repo 자동 수집기

Python

Updated: 1 day, 7 hours ago
3 stars 1 fork 1 watcher
Born at : June 8, 2025, 3:07 p.m. This repo has been linked 153 different CVEs too.

pgAdmin Proof of Concept

Python

Updated: 3 months ago
1 stars 1 fork 1 watcher
Born at : June 3, 2025, 6:17 p.m. This repo has been linked 1 different CVEs too.

这是一个每天同步Vulnerability-Wiki中docs-base中内容的项目

HTML

Updated: 1 week, 5 days ago
5 stars 1 fork 1 watcher
Born at : Sept. 20, 2024, 3:27 a.m. This repo has been linked 255 different CVEs too.

一个漏洞 PoC 知识库。A knowledge base for vulnerability PoCs(Proof of Concept), with 1k+ vulnerabilities.

poc

Dockerfile

Updated: 2 weeks, 2 days ago
4553 stars 909 fork 909 watcher
Born at : Feb. 20, 2022, 6:43 a.m. This repo has been linked 459 different CVEs too.

📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.

security cve exploit poc vulnerability

Updated: 18 hours, 48 minutes ago
7319 stars 1208 fork 1208 watcher
Born at : Dec. 8, 2019, 1:03 p.m. This repo has been linked 844 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-2945 vulnerability anywhere in the article.

  • The Hacker News
⚡ Weekly Recap: Windows 0-Day, VPN Exploits, Weaponized AI, Hijacked Antivirus and More

Attackers aren't waiting for patches anymore — they are breaking in before defenses are ready. Trusted security tools are being hijacked to deliver malware. Even after a breach is detected and patched ... Read more

Published Date: Apr 14, 2025 (5 months, 3 weeks ago)
  • Daily CyberSecurity
Apache mod_auth_openidc Vulnerability Exposes Protected Content

In a recently published security advisory, OpenIDC has revealed a vulnerability in mod_auth_openidc, the widely used OpenID Connect module for the Apache HTTP server. The flaw, tracked as CVE-2025-314 ... Read more

Published Date: Apr 09, 2025 (6 months ago)
  • Daily CyberSecurity
Fortinet: Critical Unverified Password Change Flaw in FortiSwitch

Fortinet has released a security advisory addressing a critical vulnerability in FortiSwitch products. The vulnerability, identified as CVE-2024-48887 (CVSS 9.3), could allow attackers to gain unautho ... Read more

Published Date: Apr 08, 2025 (6 months ago)
  • Daily CyberSecurity
Siemens Industrial Edge: Critical Authentication Flaw (CVE-2024-54092)

Siemens has issued security advisories SSA-634640 and SSA-819629 to address a weak authentication vulnerability affecting its Industrial Edge Devices and Industrial Edge Device Kit. The vulnerability, ... Read more

Published Date: Apr 08, 2025 (6 months ago)
  • Daily CyberSecurity
SAP April 2025 Patch Day: Critical Code Injection Risks

The SAP Security Patch Day on April 8, 2025, brought a wave of critical security updates, with a total of 18 new Security Notes and 2 updates to previously released notes. Among the fixes, several add ... Read more

Published Date: Apr 08, 2025 (6 months ago)
  • Daily CyberSecurity
TVT DVRs Under Siege: Massive Exploitation Attempts Expose Critical Flaw

A significant surge in malicious cyber activity has been detected, raising alarms for organizations utilizing TVT NVMS9000 DVRs. GreyNoise intelligence reports “a significant spike 3 times that of typ ... Read more

Published Date: Apr 08, 2025 (6 months ago)
  • Daily CyberSecurity
Top 5 VPN Vulnerabilities in 2025

I. Executive SummaryThe reliance on Virtual Private Networks (VPNs) has grown significantly as organizations embrace remote work and individuals seek enhanced online privacy and security. However, thi ... Read more

Published Date: Apr 08, 2025 (6 months ago)
  • Daily CyberSecurity
WhatsApp for Windows Spoofing Vulnerability: Execute Code Risk (CVE-2025-30401)

A security advisory from Facebook details a spoofing vulnerability in WhatsApp for Windows, highlighting a potential risk where malicious actors could trick users into executing arbitrary code. The vu ... Read more

Published Date: Apr 08, 2025 (6 months ago)
  • Daily CyberSecurity
CVE-2025-27520: Critical BentoML Flaw Allows Full Remote Code Execution, Exploit Available

A severe security vulnerability has been identified in BentoML, a Python library used for building online serving systems optimized for AI applications and model inference. The vulnerability, tracked ... Read more

Published Date: Apr 08, 2025 (6 months ago)
  • Daily CyberSecurity
PoC Released for CVE-2025-3155: Yelp Flaw Can Expose SSH Keys on Ubuntu Systems

A security vulnerability, identified as CVE-2025-3155, has been discovered in Yelp, the GNOME user help application that comes pre-installed on Ubuntu desktop. The vulnerability involves the way Yelp ... Read more

Published Date: Apr 08, 2025 (6 months ago)
  • Cyber Security News
Critical pgAdmin Vulnerability Let Attackers Execute Remote Code

A critical security vulnerability discovered in pgAdmin 4, the most widely used management tool for PostgreSQL databases, is allowing attackers to execute arbitrary code on affected systems. Security ... Read more

Published Date: Apr 07, 2025 (6 months ago)
  • Daily CyberSecurity
MediaTek’s April 2025 Security Bulletin: Critical WLAN Vulnerability Exposes Chipsets

MediaTek has released its April 2025 Product Security Bulletin, detailing a range of security vulnerabilities affecting its various chipsets. The bulletin covers vulnerabilities in chipsets used in sm ... Read more

Published Date: Apr 07, 2025 (6 months ago)
  • Daily CyberSecurity
Linux Kernel Vulnerability Exposes Local Systems to Privilege Escalation, PoC Published

A security researcher has recently disclosed technical details and proof-of-concept (PoC) exploit code for a vulnerability in the Linux kernel’s Performance Events system component. This flaw, identif ... Read more

Published Date: Apr 07, 2025 (6 months ago)
  • Daily CyberSecurity
MinIO Urgently Patches High-Severity Incomplete Signature Validation Vulnerability

MinIO, a high-performance object storage server compatible with Amazon S3, has released a patch to address a critical security vulnerability. The vulnerability, tracked as CVE-2025-31489, involves inc ... Read more

Published Date: Apr 07, 2025 (6 months ago)
  • Daily CyberSecurity
Bitdefender GravityZone Console Hit by Critical PHP Deserialization Vulnerability

A critical-severity vulnerability has been discovered in the Bitdefender GravityZone Console, posing a significant risk to affected systems. The flaw, tracked as CVE-2025-2244 (CVSSv4 9.5), is an inse ... Read more

Published Date: Apr 07, 2025 (6 months ago)

The following table lists the changes that have been made to the CVE-2025-2945 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Sep. 17, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CPE Configuration OR *cpe:2.3:a:pgadmin:pgadmin_4:*:*:*:*:*:postgresql:*:* versions up to (excluding) 9.2
    Added Reference Type PostgreSQL: https://github.com/pgadmin-org/pgadmin4/issues/8603 Types: Exploit, Issue Tracking
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Apr. 03, 2025

    Action Type Old Value New Value
    Added CWE CWE-94
  • New CVE Received by f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

    Apr. 03, 2025

    Action Type Old Value New Value
    Added Description Remote Code Execution security vulnerability in pgAdmin 4 (Query Tool and Cloud Deployment modules). The vulnerability is associated with the 2 POST endpoints; /sqleditor/query_tool/download, where the query_commited parameter and /cloud/deploy endpoint, where the high_availability parameter is unsafely passed to the Python eval() function, allowing arbitrary code execution. This issue affects pgAdmin 4: before 9.2.
    Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
    Added Reference https://github.com/pgadmin-org/pgadmin4/issues/8603
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 9.9
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact